<?php
include_once '_inc.php';

define('WWWROOT_URL', 	'http://173.255.245.72/zjh/');

$cfg						= require_once ROOT . 'configs/config.php';
$cfg[CFG_PATH_FLASH]		= WWWROOT_URL . 'core/';
$cfg[CFG_PATH_GAME]			= WWWROOT_URL . '__account_common_zjh/';
$cfg[CFG_PATH_SECURITY]		= array();
$cfg[CFG_PATH_XML_SYSTEMS]	= WWWROOT_URL . '_tmp/data/system.xml?v=' . NOW;
$cfg[CFG_PATH_XML_ROOMS]	= WWWROOT_URL . '_tmp/data/rooms.xml?v=' . NOW;
$cfg[CFG_PATH_GATEWAY]		= WWWROOT_URL . 'alpha/gateway.php';
$cfg[CFG_PRIVATE_KEY]		= '4befc16503e30b069ccce657608ac690';

$cfg[CFG_IS_ADMIN] = true;

if(isset($_REQUEST['uselocal']) && '1' == $_REQUEST['uselocal']) { // 特殊情况
	$cfg[CFG_PATH_FLASH] = 'http://192.168.56.110/zjh/core/';
}

ujn::runApplication( $cfg, 'main' );